.slide-fade-enter-active {
  transition: all .2s ease;
}
.slide-fade-leave-active {
  transition: all .2s cubic-bezier(1.0, 0.5, 0.8, 1.0);
}
.slide-fade-enter, .slide-fade-leave-to
  /* .slide-fade-leave-active for below version 2.1.8 */ {
  transform: translateY(10px);
  opacity: 0;
}

.el-dropdown-link {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.el-dropdown-link .img-circle {
  width: 30px;
  height: 30px;
  margin-right: 3px;
  border-radius: 15px;
  object-fit: cover;
}

.page-layout {
  display: flex;
  flex-flow: column;
  height: 100%;

  .segment {
    width: 1px;
    height: 16px;
    background: #EEE;
    margin-right: 6px;
    margin-left:-1px;
  }

  /*.page-logo-mini{
    width:45px !important;
    padding:0px !important;

    .menu-toggler{
      margin-right: 10.5px !important;
      margin-top: 11px !important;
    }
  }*/
  .page-layout-body {
    /*margin: 10px;*/
    padding: 0px;
    position: relative;
    flex: 1;
    overflow: auto;
  }
  .page-container {
    margin: 0px;
    padding: 0px;
    position: relative;
    flex: 1;
    overflow: auto;

    &:before, &:after {
      content: " ";
      display: table;
      clear: both;
    }

    .page-sidebar, .sidebar-toggler, .page-content {
      -webkit-transition: all .3s;
      transition: all .3s;
    }

    .page-sidebar {
      position: absolute !important;
      z-index: 102;
      top:0px;
      bottom:0px;
      overflow-y: auto;
      background-color:#FFF;
      border-right: 1px solid #EEE;
      width: 235px;

      .menu-query-input {
        border-bottom: 1px solid #EEE;
        height: 34px;
        padding: 2px;
        margin-bottom: 0px;

        .el-input__inner {
          border:none;
          padding-left: 25px;
        }
        .el-input__prefix {
          left: 0px;
        }
      }
    }

    .page-content {
      margin-left: 234px;
      margin-top: 0px;
      min-height: 500px;
      /*padding: 25px 20px 10px 20px;*/
      height: 100%;
      display: flex;
      flex-flow: column;

      .portal-path {
        display: flex;
        flex-flow: row;
        align-items: center;
        padding: 2px;
        border-bottom: 1px solid #EEE;
        height:34px;

        input {
          border: none;
          font-size:12px;
          outline:none;
          padding: 5px;
        }

        > .el-button--text {
          padding: 7px 10px;
          font-size: 13px;

          &:hover {
            border: 1px solid #EEE;
          }
        }
        .el-breadcrumb{
          flex:1;
        }
        .el-breadcrumb__item {
          font-size: 13px;
        }
        .grid-select {
          margin-right:2px;
          position:relative;
          z-index: 101;

          .el-radio-button {
            margin-bottom:0px;
          }
        }
      }

      .portal-body {
        flex:1;
        /*height:100%;*/
        /*padding: 10px;*/
        overflow: auto;
        background: #F9FAFC;

        .portal-detail-container {
          padding: 10px;
        }

        .portal-datas-empty {
          height: 100%;
          min-height: 100%;
        }

        .form-item-content {
          > .portal-detail-container {
            padding: 0px;
          }
        }

      }
    }

    .sidebar-toggler {
      cursor: pointer;
      width: 10px;
      height: 50px;
      position: absolute;
      z-index: 105;
      top: 50%;
      left: 230px;
      transform: translateY(-100%);
      background: #409EFF;
      opacity: .9;
      filter: alpha(opacity=90);
      border-radius: 5px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #FFF;
      font-size: 10px;
      box-shadow: 0 0 3px #FFF;
    }
    .sidebar-toggler:hover {
      background: #3a8ee6;
    }

    &.page-sidebar-closed {
      .page-sidebar {
        width: 10px;
      }
      .page-content{
        position: relative;
        padding: 0px !important;
        margin-left: 10px;
        overflow: hidden;
        background: #FFF;
      }

      .sidebar-toggler {
        left: 0px;
        right: auto;
      }
      .sidebar-toggler i {
        width: 10px;
        -moz-transform:scaleX(-1);
        -webkit-transform:scaleX(-1);
        -o-transform:scaleX(-1);
        transform:scaleX(-1);
      }
    }
    &.page-sidebar-empty {
      .page-sidebar, .sidebar-toggler {
        display: none;
      }
      .page-content{
        margin-left: 0px;
      }
      .portal-path {
        display: none;
      }
    }
  }
}

.page-header {
  display: flex;
  justify-content: space-between;
  /*align-items: center;*/
  width: 100%;
  margin: 0;
  border: 0px;
  padding: 0px;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-filter: none;
  filter: none;
  border-radius: 0;
  background: #FFF;
  height: 40px;
  min-height: 40px;
  border-bottom: 1px solid #EEE;

  .logo-img {
    max-width: 100%;
    max-height: 36px;
    margin: 2px 0;
    border-radius: 3px;
    /*background: radial-gradient(#C3E8ff, transparent);*/
  }

  .page-logo {
    padding-left:2px;
    padding-right:3px;
    height:40px;
    display: flex;
    align-items: center;
    margin-right: 10px;
    min-width: 200px;

    em {
      /*display: none;*/
      font-size: 12px;
      color: #DDD;
      margin: 0 8px;
    }

    h3 {
      /*display: none;*/
      font-size: 20px;
      font-weight: bold;
      margin: 0px 0px 0px 5px;
      /*padding-left: 7px;*/
      /*flex: 1;*/
      color: #333;

      /*text-shadow: 0 0 2px #1f858e;*/
      /*font-weight: normal;*/
    }

    h4 {
      font-size: 18px;
      color: #333;
      font-weight: normal;
      margin: 0px;
    }

    &.hide-logo {
      .logo-img {
        display: none;
      }
    }
    &.hide-title {
      h3 {
        display: none;
      }
      em {
        display: none;
      }
    }
    /*&.just-title {
      .logo-img {
        display: none;
      }
      h3 {
        display: block;
      }
      em {
        display: block;
      }
    }*/
  }

  .page-header-menus {
    flex: 1;
    padding-left: 0;
    list-style: none;
    float: left;
    margin: 0;

    /*height: 40px;
    overflow: hidden;*/
    .page-header-menus-container {
      min-height: 39px;
      height: 39px;
      padding: 0 10px;
      overflow: hidden;
      position: relative;
      z-index: 103;
      transition: all .05s;
      border-bottom-left-radius: 5px;
      border-bottom-right-radius: 5px;

      &:hover {
        background: #FFF;
        height: auto;
        box-shadow: 0 0 10px rgba(0, 0, 0, .1);
        padding-bottom: 10px;
        /*box-shadow: 0 0 5px #3a8ee6;*/
      }
    }
  }

  .page-header-user {
    margin-left: 10px;
    min-width: 200px;
    display: flex;
    justify-content: flex-end;

    /*.top-main-iconnav {
      width: 40px;
      height: 40px;
      display: flex;
      justify-content: center;
      align-items: center;
      border-left: 1px solid #F1F1F1;
      cursor: pointer;
      color: #666;
      position: relative;

      > i {
        font-size: 14px;
      }

      .tag-num {
        position: absolute;
        right: 2px;
        background: #409EFF;
        color: #FFF;
        border-radius: 8px;
        min-width: 14px;
        height: 14px;
        line-height: 14px;
        text-align: center;
        padding: 0px 2px;
        top: 0px;
        font-size: 12px;
        transform: scale(0.9);
      }

      &:hover {
        background: #ECF1FF;
        color: #333;
      }
    }*/

    .el-dropdown {
      padding: 5px 6px 5px 8px;
      font-size: 13px;
      float: right;
      border-left: 1px solid #F1F1F1;

      &:hover {
        background: #ECF1FF;
        color: #333;
      }
    }

    .avatar-icon {
      margin-right: 3px;
      font-size: 20px;
    }
  }
}

.top-main-nav {
  margin: 0px;
  height: 39px;
  display: inline-flex;
  align-items: center;
  margin-right: 10px;
  float: left;

  &:first-child{
    padding-left:0px;
  }

  .top-main-navitem{
    padding: 10px 16px 10px 16px;
    height: 39px;
    color:#232426;
    font-size:16px;
    /*font-weight: bold;*/
    position: relative;
    display: flex;
    align-items: center;
    transition: all .2s;

    &:after {
      content: ' ';
      background: #409EFF;
      height: 3px;
      width: 90%;
      position: absolute;
      left: 50%;
      bottom: 0px;
      transform: translateX(-50%);
      opacity: 0;
      transition: all .2s;
    }

    &:hover, &:visited, &:focus{
      color:#83A8FF;
      background-color: #FFF;

      &:after {
        /*background-color: #83A8FF;
        opacity: 1;*/
      }
    }
    &.active{
      color:#409EFF;

      &:after {
        display: block;
        opacity: 1;
      }
      /*border-bottom: 3px solid #409EFF;*/
      > .top-main-navitem-icon {
        color:#409EFF;
      }
    }
    > .top-main-navitem-icon {
      font-size: 12px;
      margin-right: 5px;
      margin-left: -5px;
      line-height: 1;
      width:16px;
      text-align: center;
      color: #999;
    }
    > .top-main-navitem-more {
      margin-right: -5px;
      margin-left: 5px;
      font-size: 12px;
      color: #999;
    }
  }
}

.page-main-menu {
  margin-bottom: 10px;

  &.el-menu.el-menu--horizontal {
    border-bottom: none;
  }

  &.el-menu {
    > .el-menu-item,
    > .el-submenu .el-submenu__title {
      height: 40px;
      line-height: 40px;
      padding: 0 15px;
    }
  }
}

.el-menu {
  .page-main-menu-icon {
    font-size: 14px;
    margin-right: 5px;
    opacity: .7;
    transition: all .1s;
  }

  .el-submenu__title:hover,
  .el-menu-item:hover,
  .el-menu-item.is-active,
  .el-submenu.is-active .el-submenu__title {
    > .page-main-menu-icon {
      opacity: 1;
    }
  }
}


.portal-ft {
  border-top: 1px solid #EEE;
  text-align: right;
}

.grid-cols {
  .portal-tools {
    width: 240px;
  }
  .portal-body {
    width: 240px;
    padding:0px;
  }
  .portal-datas-win {
    left: 240px;
    top: 34px;
    border-left: 1px solid #EEE;
  }
}

.grid-cols {
  .ps.ps--active-x>.ps__scrollbar-x-rail,
  .ps.ps--active-y>.ps__scrollbar-y-rail {
    z-index:2;
  }
}

.layout-menu-left {

  &.menu-tree-wrap {
    padding: 0px;
  }

  .el-tree-node__content {
    height: 36px;
  }
  .menu-custom-tree-node {
    font-size: 14px;
  }
}

/*
.page-header-drop-menu {
  min-width: 140px;

  .el-dropdown-menu__item {
    display: flex;

    i {
      font-size: 14px;
    }
  }
}
*/

/** download begin **/
.ph-msg-container {
  flex: 1;
  height: 100%;
  overflow-y: auto;

  .ph-msg-item {
    border-bottom: 1px solid #EEE;
    padding: 10px;
    display: flex;
    font-size: 12px;
    color: #333;
    flex-flow: column;

    &:hover {
      background: #FAFAFA;
    }

    .ph-msg-info {
      display: flex;
      align-items: center;
      color: #999;
    }
    .ph-msg-link {
      color: #409EFF;

      &:hover {
        color: #207EDF;
      }
    }
    .ph-msg-types {
      display: flex;
      align-items: center;
      margin-bottom: 6px;
      color: #999;

      b {
        flex: 1;
        font-size: 14px;
      }

      .download-ing-tip {
        margin-left:3px;
        cursor: pointer;

        &.red {
          color: #f56c6c;
        }
        &.green {
          color: #67C23A;
        }
      }
      .btn {
        /*background: #F1F1F1;*/
        width: 20px;
        height: 20px;
        justify-content: center;
        display: flex;
        align-items: center;
        border-radius: 5px;
        font-size: 12px;
        margin-left: 10px;
        /*color: #999;*/
        cursor: pointer;

        /*&.btn {
          color: #f56c6c;
        }

        &:hover {
          background: #DDD;
          color: #333;
        }*/
      }
    }
    .ph-msg-title {
      font-size: 14px;
      margin-bottom: 5px;
      line-height: 1.3;
    }
    .ph-msg-remark {
      display: flex;
      justify-content: space-between;
      margin-top: 5px;
      color: #999;
    }
  }

  .empty {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 12px;
    color: #999;
  }
}

.page-header-drawer {
  top: 40px;
  bottom: 0px;
  height: auto;

  .el-drawer__body {
    display: flex;
    flex-flow: column;
    height: 100%;

    .el-tabs {
      height: 100%;
      display: flex;
      flex-flow: column;

      .el-tabs__item {
        padding: 0px 0px 0px 5px;
        font-weight: bold;
      }

      .el-tabs__header {
        margin-bottom: 0px;
        background: #F5F9FF;
      }
      .el-tabs__content {
        flex: 1;
        height: 100%;

        .el-tab-pane {
          height: 100%;
          display: flex;
          flex-flow: column;

          .file-list {
            flex: 1;
            height: 100%;
            overflow-y: auto;
          }
        }
      }

      .el-badge__content {
        transform: scale(0.85) translateX(100%);
        top: -4px;
      }
    }
  }
}

.download-picker {
  width: 12px;
  /*height: 76px;*/
  position: fixed;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5000;
  transition: all .3s;
  overflow: hidden;
  background: #000;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;

  .download-picker-trigger {
    width: 100%;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-bottom: #F1F1F1;

    > i {
      color: #FFF;
    }
  }

  .download-picker-arrow {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #FFF;
  }
  .download-picker-down {
    display: none;
    font-size: 14px;
  }

  &:hover, &.expand {
    width: 36px;
    background: #000;
    border-radius: 2px;

    .download-picker-arrow {
      display: none;
    }
    .download-picker-down {
      display: block;
    }
    .tag-num {
      top: 3px;
      right: 3px;
      opacity: 1;
    }
    .download-picker-trigger {
      border-bottom: 1px solid #EEE;

      &:last-child {
        border-bottom: none;
      }
    }
  }

  &.close {
    width: 0px;
  }

  i {
    font-size: 12px;
    /*color: #FFF;*/
  }

  .tag-num {
    position: absolute;
    top: 0px;
    right: -20px;
    background: #000;
    color: #FFF;
    border-radius: 8px;
    min-width: 14px;
    height: 14px;
    line-height: 14px;
    text-align: center;
    padding: 0px 2px;
    font-size: 12px;
    transform: scale(0.9);
    opacity: 0;
  }
}

.download-picker-refresh {
  padding: 10px;

  >.el-button {
    width: 100%;
  }
}

.upload-no-file-tip {
  padding: 100px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  color: #999;
  letter-spacing: 2px;
}
/** download end **/
